package net.huashitong.supervision.task.entity;

import com.sirdc.modules.core.entity.StringEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created with IntelliJ IDEA.
 *
 * @author ling
 * @date: 2020/2/24
 * @time: 16:37
 * @version: 1.0
 * @Description:  特殊主任务表 (单位重大事项和攻坚办派发任务)
 */
@Entity
@Table(name = "t_special_task")
public class SpecialTask extends StringEntity {
    private String taskMainId; //主任务id;
    private String taskMainName;  //主任务名称
    private String taskType;   //任务类型;  (1 攻坚办  2 单位重大事项)
    private String overdueDeptId;  //重点工作责任单位id
    private String inspectionId;   //攻坚办派发督查组id
    private String timeRound;  //任务轮次;
    private String status; //任务状态 待办,在办
    private String type;    //任务进行到 的程度  ; 0.待签收,1待反馈,2已反馈,3退回,4完成 。5已签收)
    private String timeLimit;
    private String roundLimit; //轮次的时限
    private String other;   //其他
    private String timeType;  //时限类型（1.单时限，2.周期性，3多时限）
    private String period;   //周期（0天,1.周，2 月 3季度）
    private String day; //周期性任务的天
    private String week;      //周期的星期
    private String month;      //周期的月
    private String quarter;      //周期的季度
    private String timeLimits; //多时限字符串
    private String overdueDay; //逾期天数
    private String backNum;//退回次数
    private String score;

    public String getBackNum() {
        return backNum;
    }

    public void setBackNum(String backNum) {
        this.backNum = backNum;
    }

    public String getOverdueDay() {
        return overdueDay;
    }

    public void setOverdueDay(String overdueDay) {
        this.overdueDay = overdueDay;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getRoundLimit() {
        return roundLimit;
    }

    public void setRoundLimit(String roundLimit) {
        this.roundLimit = roundLimit;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTimeLimit() {
        return timeLimit;
    }

    public void setTimeLimit(String timeLimit) {
        this.timeLimit = timeLimit;
    }

    public String getTimeType() {
        return timeType;
    }

    public void setTimeType(String timeType) {
        this.timeType = timeType;
    }

    public String getPeriod() {
        return period;
    }

    public void setPeriod(String period) {
        this.period = period;
    }

    public String getDay() {
        return day;
    }

    public void setDay(String day) {
        this.day = day;
    }

    public String getWeek() {
        return week;
    }

    public void setWeek(String week) {
        this.week = week;
    }

    public String getMonth() {
        return month;
    }

    public void setMonth(String month) {
        this.month = month;
    }

    public String getQuarter() {
        return quarter;
    }

    public void setQuarter(String quarter) {
        this.quarter = quarter;
    }

    public String getTimeLimits() {
        return timeLimits;
    }

    public void setTimeLimits(String timeLimits) {
        this.timeLimits = timeLimits;
    }

    public SpecialTask() {
    }

    public SpecialTask(String taskMainId, String taskMainName, String taskType, String overdueDeptId, String inspectionId, String timeRound, String other) {
        this.taskMainId = taskMainId;
        this.taskMainName = taskMainName;
        this.taskType = taskType;
        this.overdueDeptId = overdueDeptId;
        this.inspectionId = inspectionId;
        this.timeRound = timeRound;
        this.other = other;
    }

    public String getTaskMainId() {
        return taskMainId;
    }

    public void setTaskMainId(String taskMainId) {
        this.taskMainId = taskMainId;
    }

    public String getTaskMainName() {
        return taskMainName;
    }

    public void setTaskMainName(String taskMainName) {
        this.taskMainName = taskMainName;
    }

    public String getTaskType() {
        return taskType;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }

    public String getOverdueDeptId() {
        return overdueDeptId;
    }

    public void setOverdueDeptId(String overdueDeptId) {
        this.overdueDeptId = overdueDeptId;
    }

    public String getInspectionId() {
        return inspectionId;
    }

    public void setInspectionId(String inspectionId) {
        this.inspectionId = inspectionId;
    }

    public String getTimeRound() {
        return timeRound;
    }

    public void setTimeRound(String timeRound) {
        this.timeRound = timeRound;
    }

    public String getOther() {
        return other;
    }

    public void setOther(String other) {
        this.other = other;
    }
}
